package swagger

import (
	// liwenzhou.com ...

	_ "project/docs" // 千万不要忘了导入把你上一步生成的docs
	"project/pkg/router"

	"github.com/gin-gonic/gin"
	swaggerFiles "github.com/swaggo/files"
	gs "github.com/swaggo/gin-swagger"
)

type SRouter struct {
}

func init() {
	router.AddRouter(new(SRouter))
}
func (SRouter) Router(e *gin.Engine) {
	e.GET("/swagger/*any", gs.WrapHandler(swaggerFiles.Handler))
}
